<?php

namespace App\Http\Resources\Kms\App;

use Illuminate\Http\Resources\Json\JsonResource;

class AppVersionListResource extends JsonResource
{
    public function toArray($request): array
    {
        return [
            "id"                   => (int)$this->id,
            "version"              => (string)$this->version,
            "versionChangeContent" => (string)$this->versionChangeContent,
            "packageUrl"           => (string)$this->packageUrl,
            "packagingToolVersion" => (string)$this->packagingToolVersion,
        ]; // TODO=> Change the autogenerated stub
    }
}
